package org.luckyjourney.entity.plan.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlanDTO implements Serializable {

    @ApiModelProperty("注解id")
    @TableId(value = "id", type = IdType.AUTO)
    @NotNull(message = "请选择修改的模板")
    private Integer id;

    @ApiModelProperty("页码数")
    private Integer page;

    @ApiModelProperty("排班日期")
    private String planDate;
    @ApiModelProperty("排班时间")
    private String planTime;

    @ApiModelProperty("咨询类型id")
    private Long classifyId;

    @ApiModelProperty("咨询师id")
    private Long userId;

    @ApiModelProperty("每页条数")
    private Integer pageSize;

    @ApiModelProperty("发布日期开始")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date CreateBegin;

    @ApiModelProperty("发布日期结束")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date CreateEnd;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String CreatebeginTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String CreateendTime;

    private String serviceMode;
}
